package com.feng.chat.pojo;

import io.gitee.zerowsh.actable.annotation.AcColumn;
import io.gitee.zerowsh.actable.annotation.AcTable;
import io.gitee.zerowsh.actable.emnus.ColumnTypeEnums;

import java.time.LocalTime;

@AcTable(name = "talk_records_forward",comment = "用户聊天记录_转发信息表")
public class TalkRecordsForward {
    @AcColumn(name = "id",comment = "合并转发ID",type = ColumnTypeEnums.INT,length = 20,isAutoIncrement = true,isKey = true)
    private Integer id;

    @AcColumn(name = "record_id",defaultValue = "0",comment = "消息记录ID",type = ColumnTypeEnums.INT)
    private Integer record_id;

    @AcColumn(name = "user_id",defaultValue = "0",comment = "上传文件的用户ID",type = ColumnTypeEnums.INT)
    private Integer user_id;

    @AcColumn(name = "records_id", defaultValue = "", comment = "转发的聊天记录ID，多个用','分割", type = ColumnTypeEnums.VARCHAR,length = 255, isNull = false)
    private String records_id;

    @AcColumn(name = "text", defaultValue = "", comment = "记录快照", type = ColumnTypeEnums.VARCHAR,length = 255, isNull = false)
    private String text;

    @AcColumn(name = "created_at", comment = "转发时间", type = ColumnTypeEnums.DATETIME, isNull = true)
    private LocalTime createdAt;
}
